import axios from 'axios'
axios.defaults.baseURL = 'http://localhost:3000/api/'
axios.defaults.timeout = 3000
axios.interceptors.response.use(function (res) {
  const data = res.data
  return data
})
export default axios
